package com.example.mockitostudy.service;

import com.example.mockitostudy.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Collection;

@Slf4j
@Service
public class UserService {
    public User getUser() {
        throw new RuntimeException();
    }

    public int getInteger() {
        log.info("UserService class getInteger Function");
        return 10;
    }

    public String getString() {
        log.info("UserService class getString Function");
        throw new RuntimeException();
    }

    public int method1(int integer, String str, Collection<?> collection, Serializable serializable) {
        throw new RuntimeException();
    }

    public void method2(int integer, String str, Collection<?> collection, Serializable serializable) {
        throw new RuntimeException();
    }
}
